{include file=header.html}
<script type="text/javascript">
	function goToStep2()
	{
		var sgrade = $("[name='sgrade']:checked").val();
		window.location.href="index.php?app=apply&step=2&id="+sgrade;
	}
</script>
<div id="page-apply">
	<div class="module">
		<div class="apply-style">
        	<!--{foreach from=$sgrades item=sgrade name=fe_sgrade}-->
        	<table>
            	<tr>
                	<th colspan="5" align="left"><input {if $smarty.foreach.fe_sgrade.first}checked="checked"{/if} type="radio" value="{$sgrade.grade_id}" name="sgrade" id="{$sgrade.grade_id}"/><label for="{$sgrade.grade_id}">{$sgrade.grade_name}</label></th>
                </tr>
                <tr>
                    <td align="center">{$lang.goods_limit}</td>
                    <td align="center">{$lang.space_limit}</td>
                    <td align="center">{$lang.skin_limit}</td>
                    <td align="center">{$lang.charge}</td>
                    <td align="center">{$lang.need_confirm}</td>
                </tr>
                <tr>
                	<td align="center">{$sgrade.goods_limit}</td>
                	<td align="center">{$sgrade.space_limit}</td>
                    <td align="center">{$sgrade.skin_limit}</td>
                    <td align="center">{$sgrade.charge}</td>
                    <td align="center"><!--{if !$sgrade.need_confirm}--><img src="{res file=images}/unusable.gif" align="absMiddle"/><!--{else}--><img src="{res file=images}/usable.gif" align="absMiddle" /><!--{/if}--></td>
                </tr>
                <tr>
                    <td colspan="5">
                    	<p class="pl10 pr10">
                            {$lang.add_use}:
                            <!--{foreach from=$sgrade.functions item=functions key=k name=v}-->
                            <!--{if $domain && $k eq 'subdomain'}-->
                            <span class="fontColor1">{$lang.domain}</span>
                            <!--{else}-->
                            <span class="fontColor1">{$lang.$k}</span>
                            <!--{/if}-->
                            <!--{/foreach}-->
                        </p>
                    </td>
                </tr>
                <tr>
                	<td colspan="5" class="desc"><p class="pl10 pr10">{$sgrade.description}</p></td>
                </tr>
            </table>
            <!--{/foreach}-->
            <div class="btn mt20">
            	<a href="javascript:;" onclick="goToStep2();">{$lang.soon_open}</a>
            </div>
        </div>
	</div>
</div>
{include file=footer.html}
